package com.uzai.console.web.mermobilerecharge;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.github.xiaoymin.knife4j.annotations.ApiSort;
import com.uzai.console.dto.meraccdetail.MerAccDetailQuery;
import com.uzai.console.dto.mermobilerecharge.MerMobileRechargeQuery;
import com.uzai.console.service.mermobilerecharge.MerMobileRechargeService;
import com.uzai.console.vo.mermobilerecharge.MerMobileRechargeVo;
import com.uzai.console.web.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 运营商手机话费充值
 * @author liuqi
 * @date 2021年08月16日 15:11
 */
@Api(value = "运营商手机话费充值",tags = "交易明细|运营商手机话费充值")
@ApiSort(17)
@RestController
public class MerMobileRechargeController extends BaseController {
    private Logger logger = LoggerFactory.getLogger(MerMobileRechargeController.class);

    @Autowired
    private MerMobileRechargeService merMobileRechargeService;

    @ApiOperation(value = "分页查询运营商手机话费充值列表", notes = "分页查询运营商手机话费充值列表", response = MerMobileRechargeVo.class)
    @ApiOperationSupport(order = 1)
    @PostMapping("/merMobileRecharge/findByPage")
    public Object findMerMobileRechargeByPage(@RequestBody MerMobileRechargeQuery merMobileRechargeQuery){
        return merMobileRechargeService.findMerMobileRechargeByPage(merMobileRechargeQuery);
    }


}
